image: Fixes build warning with CONFIG_FIT_IMAGE_POST_PROCESS
authorMadan Srinivas <[email protected]>
Fri, 7 Apr 2017 15:00:02 +0000 (10:00 -0500)
committerTom Rini <[email protected]>
Sun, 9 Apr 2017 01:35:04 +0000 (21:35 -0400)
commita5c7e41be357c508a807b991c2adacc68e79bdfc
treec727ea700820b2a0171bc522b74e7197da155668
parentf7c8f032f49ef8183f4019bf2659930d1d07013f
image: Fixes build warning with CONFIG_FIT_IMAGE_POST_PROCESS

The function 'board_fit_image_post_process' is defined only when the
config option CONFIG_FIT_IMAGE_POST_PROCESS is enabled. For secure
systems that do not use SPL but do use FIT kernel images, only
CONFIG_FIT_IMAGE_POST_PROCESS will be defined, which will result in an
implicit declaration of function 'board_fit_image_post_process' warning
while building u-boot. Fix this warning.

Signed-off-by: Madan Srinivas <[email protected]>
Signed-off-by: Andrew F. Davis <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Lokesh Vutla <[email protected]>
include/image.h